package spring.mvc.practice;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name="normandy_ref_codes")
public class RefCode implements Lov,Serializable {

	
	@Id
	@Column(name="rv_domain")
	private String domain;
	@Id
	@Column(name="rv_low_value")
	private String code;
	@Column(name="rv_meaning")
	private String description;
	
	public String getDomain() {
		return domain;
	}
	public void setDomain(String domain) {
		this.domain = domain;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}	

}
